<?php

class ZFEngine_View_Helper_Age extends Zend_View_Helper_Abstract
{

   /**
     * Calc diff 
     *
     * @param mix $date
     * @return array
     */
    public function age($date)
    {
        $years = $this->view->dateDifference($date, Zend_Date::now(), 'years');
        
        return $years;// . ' ' . $this->view->translate(array('год', 'года', 'лет', $years, $this->view->lang));
    }

}